package org.seedltd.upms.model.detection.entity;

import org.seedltd.core.base.BaseEntityKey;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 终端管理数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/07/28
 */
@Getter
@Setter
@TableName("detection_terminal")
public class DetectionTerminal extends BaseEntityKey {

    /**
     * 终端类型，1回收箱，0贩卖机
     */
    @TableField(value = "terminal_type")
    private Integer terminalType;

    /**
     * 终端所在位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 终端编号
     */
    @TableField(value = "serial_number")
    private String serialNumber;

    /**
     * 售货机ID
     */
    @TableField(value = "machine_id")
    private String machineId;

    /**
     * 二维码地址
     */
    @TableField(value = "qr_code_path")
    private String qrCodePath;

    /**
     * 启禁用
     */
    @TableField(value = "enabled")
    private EnableStatus enabled;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

}